<?php $this->widget('application.components.AdminMenu',array('nameId'=>'partners')); ?>
<!-- Subheader -->
<div id="subheader" class="clearfix">
	<h2>Партнеры</h2>
	<a href="#"><span>Cancel</span></a>
</div>
<!-- /End Subheader -->

<!-- Main Content Area -->
<div style="height: max-height;" id="content">

	<div id="inner">
	<?php
	$form=$this->beginWidget('CActiveForm',array(
	        'id'=>'news',
	        'enableAjaxValidation'=>true,
	'htmlOptions'=>array('enctype'=>'multipart/form-data')		
	)	
	);
	?>
	    <ul>
			<li>
				<!-- Large Text Input -->
			<!--  	<label for="large input">Заголовок</label>-->
				
				
				<?php echo $form->labelEx($Partners,'text',array("label"=>'Заголовок','for'=>'large input')); ?>
				<?php echo $form->textField($Partners,'text',array('value'=>$partners->text,'class'=>'large')); ?> 			
				<?php echo $form->error($partners,'text'); ?>
			</li>

			
	
			
			<li>	
				<?php echo Chtml::activelabelEx($Partners,'image',$htmlOptions=array('label'=>"Содержание новости:",'for'=>'news')); ?>	
				<?php echo Chtml::activeFileField($partners,'image'); ?>
				<?php echo Chtml::error($partners,'image'); ?>
			
			</li>
			 
			
			

			</div>

			<!-- Buttons -->
			<div class="grid_6">
				<label for="button news">Опубликовать новость:</label>
                                <?php echo '<input type="hidden" name="id" value="'.$_GET['id'].'" />'?>
			    <input type="submit" name="news" value="Опубликовать" class="button_white" />
			</div>
			<!-- end btn -->

		</ul>
	<?php $this->endWidget(); ?>

	</div>
</div>
<!-- End Content Area -->
